<template>
  <section class="hero">
    <div class="hero-background">
      <div class="grid-pattern"></div>
      <div class="floating-shapes">
        <div class="shape shape-1"></div>
        <div class="shape shape-2"></div>
        <div class="shape shape-3"></div>
        <div class="shape shape-4"></div>
      </div>
    </div>
    
    <div class="hero-content">
      <div class="container">
        <div class="hero-text">
          <h1 class="hero-title">
            <span class="title-line">智索真源科技有限公司</span>
            <span class="title-line gradient-text">投资未来的智能教育平台</span>
          </h1>
          <p class="hero-subtitle">
            专注于智能化企业服务创新，通过AI与区块链技术推动教育、企业与社会深度融合。
            我们传承全球顶级投资机构的智慧精华，结合中国本土创新实践，构建独特的"正核博弈"价值体系。
            我们的Skillith平台已获得芜湖市政府支持并成功落地，致力于为投资者创造长期稳定的价值回报。
          </p>
          <div class="hero-actions">
            <button class="primary-button">
              <span>立即投资</span>
              <div class="button-glow"></div>
            </button>
            <button class="secondary-button">
              <span>了解投资机会</span>
            </button>
          </div>
        </div>
        
        <div class="hero-visual">
          <div class="tech-sphere">
            <div class="sphere-core"></div>
            <div class="orbit orbit-1">
              <div class="orbit-node"></div>
            </div>
            <div class="orbit orbit-2">
              <div class="orbit-node"></div>
            </div>
            <div class="orbit orbit-3">
              <div class="orbit-node"></div>
            </div>
          </div>
        </div>
      </div>
    </div>
  </section>
</template>

<script>
export default {
  name: 'HeroSection'
}
</script>

<style scoped>
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0A2463 0%, #1F41BB 50%, #0066FF 100%);
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
}

.grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 50px 50px;
  animation: grid-move 20s linear infinite;
}

@keyframes grid-move {
  0% { transform: translate(0, 0); }
  100% { transform: translate(50px, 50px); }
}

.floating-shapes {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}

.shape {
  position: absolute;
  border-radius: 50%;
  background: linear-gradient(45deg, rgba(138, 43, 226, 0.3), rgba(0, 185, 174, 0.3));
  animation: float 6s ease-in-out infinite;
}

.shape-1 {
  width: 100px;
  height: 100px;
  top: 20%;
  left: 10%;
  animation-delay: 0s;
}

.shape-2 {
  width: 60px;
  height: 60px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.shape-3 {
  width: 80px;
  height: 80px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

.shape-4 {
  width: 120px;
  height: 120px;
  top: 30%;
  right: 30%;
  animation-delay: 1s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.hero-text {
  color: #FFFFFF;
}

.hero-title {
  font-size: 3.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  letter-spacing: -1px;
}

.title-line {
  display: block;
}

.gradient-text {
  background: linear-gradient(135deg, #8A2BE2, #00B9AE);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.primary-button {
  position: relative;
  background: linear-gradient(135deg, #8A2BE2, #00B9AE);
  color: #FFFFFF;
  border: none;
  padding: 16px 32px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  overflow: hidden;
  transition: all 0.3s ease;
  box-shadow: 0 8px 25px rgba(138, 43, 226, 0.3);
}

.primary-button:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(138, 43, 226, 0.4);
}

.button-glow {
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
  transition: left 0.5s ease;
}

.primary-button:hover .button-glow {
  left: 100%;
}

.secondary-button {
  background: rgba(255, 255, 255, 0.1);
  color: #FFFFFF;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 14px 30px;
  border-radius: 12px;
  font-size: 1.1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
}

.secondary-button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.hero-visual {
  display: flex;
  justify-content: center;
  align-items: center;
}

.tech-sphere {
  position: relative;
  width: 400px;
  height: 400px;
  animation: rotate-sphere 20s linear infinite;
}

.sphere-core {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.8), rgba(138, 43, 226, 0.6));
  border-radius: 50%;
  box-shadow: 0 0 50px rgba(138, 43, 226, 0.5);
}

.orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  animation: counter-rotate 20s linear infinite;
}

.orbit-1 {
  width: 200px;
  height: 200px;
  animation-duration: 15s;
}

.orbit-2 {
  width: 300px;
  height: 300px;
  animation-duration: 25s;
}

.orbit-3 {
  width: 380px;
  height: 380px;
  animation-duration: 35s;
}

.orbit-node {
  position: absolute;
  top: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 16px;
  height: 16px;
  background: linear-gradient(45deg, #8A2BE2, #00B9AE);
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(138, 43, 226, 0.6);
}

@keyframes rotate-sphere {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

@keyframes counter-rotate {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(-360deg); }
}

@media (max-width: 768px) {
  .container {
    grid-template-columns: 1fr;
    gap: 2rem;
    text-align: center;
  }

  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1rem;
  }

  .hero-actions {
    justify-content: center;
  }

  .tech-sphere {
    width: 300px;
    height: 300px;
  }

  .orbit-1 { width: 150px; height: 150px; }
  .orbit-2 { width: 225px; height: 225px; }
  .orbit-3 { width: 285px; height: 285px; }
}
</style>
